package com.ruoyi.personnel.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 转正信息管理对象 sys_user_formal
 * 
 * @author ruoyi
 * @date 2022-03-19
 */
public class SysUserFormal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private SysUser user;

    public SysUser getUser() {
        return user;
    }

    /** ID */
    private Long id;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private Long formaluserId;

    /** 工位安排 */
    @Excel(name = "工位安排")
    private String position;

    /** 7天考核期得分 */
    @Excel(name = "7天考核期得分")
    private Integer sevendaysGrade;

    /** 入职资料填写确认 */
    @Excel(name = "入职资料填写确认")
    private String joinData;

    /** 劳动合同期限 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "劳动合同期限", width = 30, dateFormat = "yyyy-MM-dd")
    private Date agreementDate;

    /** 社保缴纳时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "社保缴纳时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date socialSecurityDate;

    /** 公积金缴纳时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "公积金缴纳时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date accumulationFundDate;

    /** 薪资确认单 */
    @Excel(name = "薪资确认单")
    private String paySign;

    /** 实际转正日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际转正日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date formalDate;

    /** 转正考核分数 */
    @Excel(name = "转正考核分数")
    private Integer formalGrade;

    /** 协商试用期薪资 */
    @Excel(name = "协商试用期薪资")
    private BigDecimal probationPay;

    /** 协商转正薪资 */
    @Excel(name = "协商转正薪资")
    private BigDecimal formalPay;

    /** 假删除 */
    private Integer delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFormaluserId(Long formaluserId) 
    {
        this.formaluserId = formaluserId;
    }

    public Long getFormaluserId() 
    {
        return formaluserId;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setSevendaysGrade(Integer sevendaysGrade) 
    {
        this.sevendaysGrade = sevendaysGrade;
    }

    public Integer getSevendaysGrade() 
    {
        return sevendaysGrade;
    }
    public void setJoinData(String joinData) 
    {
        this.joinData = joinData;
    }

    public String getJoinData() 
    {
        return joinData;
    }
    public void setAgreementDate(Date agreementDate) 
    {
        this.agreementDate = agreementDate;
    }

    public Date getAgreementDate() 
    {
        return agreementDate;
    }
    public void setSocialSecurityDate(Date socialSecurityDate) 
    {
        this.socialSecurityDate = socialSecurityDate;
    }

    public Date getSocialSecurityDate() 
    {
        return socialSecurityDate;
    }
    public void setAccumulationFundDate(Date accumulationFundDate) 
    {
        this.accumulationFundDate = accumulationFundDate;
    }

    public Date getAccumulationFundDate() 
    {
        return accumulationFundDate;
    }
    public void setPaySign(String paySign) 
    {
        this.paySign = paySign;
    }

    public String getPaySign() 
    {
        return paySign;
    }
    public void setFormalDate(Date formalDate) 
    {
        this.formalDate = formalDate;
    }

    public Date getFormalDate() 
    {
        return formalDate;
    }
    public void setFormalGrade(Integer formalGrade) 
    {
        this.formalGrade = formalGrade;
    }

    public Integer getFormalGrade() 
    {
        return formalGrade;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }
    public void setProbationPay(BigDecimal probationPay)
    {
        this.probationPay = probationPay;
    }

    public BigDecimal getProbationPay()
    {
        return probationPay;
    }
    public void setFormalPay(BigDecimal formalPay)
    {
        this.formalPay = formalPay;
    }

    public BigDecimal getFormalPay()
    {
        return formalPay;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("formaluserId", getFormaluserId())
            .append("position", getPosition())
            .append("sevendaysGrade", getSevendaysGrade())
            .append("joinData", getJoinData())
            .append("agreementDate", getAgreementDate())
            .append("socialSecurityDate", getSocialSecurityDate())
            .append("accumulationFundDate", getAccumulationFundDate())
            .append("paySign", getPaySign())
            .append("formalDate", getFormalDate())
            .append("formalGrade", getFormalGrade())
            .append("delFlag", getDelFlag())
                .append("user", getUser())
                .append("probationPay", getProbationPay())
                .append("formalPay", getFormalPay())
            .toString();
    }
}
